import { httpForm } from "@/service/network";

//获取TOKENM
export const gettoken  = ()=>{
  return httpForm("/platform/admin/getCode");
}
//登录
// export const login = (data) => {
//   return httpForm("/admin.php/Index/index", data);
// };
export const login = (data) => {
  console.log(data)
  return httpForm("/platform/admin/login", data);
};
